//
//  NightVersion.m
//  FlowLayout
//
//  Created by Fuzzie Liu on 15/10/28.
//  Copyright © 2015年 Fuzzie Liu. All rights reserved.
//

#import "NightVersion.h"

#import "UITabBar+NightVersion.h"
#import "UIViewController+NightVersion.h"
#import "UILabel+NightVersion.h"
#import "UIView+NightVersion.h"

@implementation NightVersion

+ (void)changeColor:(id)object
{
    if ([object respondsToSelector:@selector(nightVersion)]) {
            [object nightVersion];
    }
    if ([object respondsToSelector:@selector(subviews)]) {
        if (![object subviews]) {
            return;
        }else{
            for (id subview in [object subviews]) {
                [self changeColor:subview];
            }
        }
    }
}

@end
